package com.a14810100103szm.a7zuxiangmu.services;



import com.a14810100103szm.a7zuxiangmu.beans.LoginBean;
import com.a14810100103szm.a7zuxiangmu.beans.Result;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/10/14.
 */

public interface UserService
{
    @GET("userLogin.do")
    Call<LoginBean> userLogin(@Query("username") String username,
                              @Query("userpass") String userpass);
    @GET("userRegister.do ")
            Call<Result> register(
            @Query("username") String username,
            @Query("userpass") String userpass,
            @Query("mobilenum") String mobilenum,
            @Query("address") String address,
            @Query("comment") String comment
    );
}
